package com.gupaoedu.vip.factory.simple;

import com.gupaoedu.vip.factory.Drink;

/**
 * Created by zhaozhonghai on 2017/5/23.
 */
public class SimpleFactoryTest {
    public static void main(String[] args){
        SimpleFactory factory=new SimpleFactory();
        Drink drink=factory.getDrink("pepsicola");
        System.out.println(drink.getName());
    }
}
